const express = require('express')
const router = express.Router()

router.get('/getRankingList', (req, res) => {
  res.send({
    code: 200,
    success: true,
    message: '请求成功',
    data: {
      rankingList: [
        {
          title: '飙升榜',
          imageUrl: '/images/image01.jpg',
          playlist: [
            {
              id: '001',
              name: '情非得已',
            },
            {
              id: '002',
              name: '一滴泪的时间',
            },
            {
              id: '003',
              name: '没出息',
            },
            {
              id: '004',
              name: '局外人',
            },
            {
              id: '005',
              name: '杏冷淡 freestyle',
            },
            {
              id: '006',
              name: '现在那边是几点',
            },
            {
              id: '007',
              name: 'Lost',
            },
            {
              id: '008',
              name: '冬与你',
            },
            {
              id: '009',
              name: '虚构',
            },
            {
              id: '010',
              name: 'never meant to hurt you',
            },
          ],
        },
        {
          title: '新歌榜',
          imageUrl: '/images/image02.jpg',
          playlist: [
            {
              id: '001',
              name: '情非得已',
            },
            {
              id: '002',
              name: '一滴泪的时间',
            },
            {
              id: '003',
              name: '没出息',
            },
            {
              id: '004',
              name: '局外人',
            },
            {
              id: '005',
              name: '杏冷淡 freestyle',
            },
            {
              id: '006',
              name: '现在那边是几点',
            },
            {
              id: '007',
              name: 'Lost',
            },
            {
              id: '008',
              name: '冬与你',
            },
            {
              id: '009',
              name: '虚构',
            },
            {
              id: '010',
              name: 'never meant to hurt you',
            },
          ],
        },
        {
          title: '原创榜',
          imageUrl: '/images/image03.jpg',
          playlist: [
            {
              id: '001',
              name: '情非得已',
            },
            {
              id: '002',
              name: '一滴泪的时间',
            },
            {
              id: '003',
              name: '没出息',
            },
            {
              id: '004',
              name: '局外人',
            },
            {
              id: '005',
              name: '杏冷淡 freestyle',
            },
            {
              id: '006',
              name: '现在那边是几点',
            },
            {
              id: '007',
              name: 'Lost',
            },
            {
              id: '008',
              name: '冬与你',
            },
            {
              id: '009',
              name: '虚构',
            },
            {
              id: '010',
              name: 'never meant to hurt you',
            },
          ],
        },
      ]
    }
  })
})

module.exports = router
